/**
 * CalcNumberButtonPanel.java
 *
 * @author:  John Thomason
 *  Course:  CS223
 *  Assign:  1
 * Seminar:  4
 *    Date:  Jan 29, 2009
 */

//Assigned Package
package calc;

//Imported Packages
import java.awt.*;

/**
 * CalcNumberButtonPanel Class
 */
public class CalcNumberButtonPanel
extends AbstractPanel
{
    //Constructors
    public CalcNumberButtonPanel(){
        setLayout(new GridLayout(4,3,0,0));

        add(ButtonFactory.createJButton("7", font));
        add(ButtonFactory.createJButton("8", font));
        add(ButtonFactory.createJButton("9", font));

        add(ButtonFactory.createJButton("4", font));
        add(ButtonFactory.createJButton("5", font));
        add(ButtonFactory.createJButton("6", font));

        add(ButtonFactory.createJButton("1", font));
        add(ButtonFactory.createJButton("2", font));
        add(ButtonFactory.createJButton("3", font));

        add(ButtonFactory.createJButton("0", font));
        add(ButtonFactory.createJButton(".", font));
        add(ButtonFactory.createJButton("=", font));

    }//CalcNumberButtonPanel Constructor

}//CalcNumberButtonPanel Class
